
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.login-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 600px;
}

.login-left {
    flex: 1;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right {
    flex: 1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.login-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: #0f172a;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.welcome-subtitle {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
}

.input-container {
    display: flex;
    margin-bottom: 3px;
}

.country-code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 12px;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-hint {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 25px;
}

.btn-send-otp {
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 25px;
}

.btn-send-otp:hover {
    background: #1e293b;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 10px;
}

.secure .feature-icon-small {
    background: #dcfce7;
    color: #16a34a;
}

.fast .feature-icon-small {
    background: #dbeafe;
    color: #2563eb;
}

.feature-text {
    color: #475569;
    line-height: 1.4;
    font-size: 13px;
}

.feature-text strong {
    color: #0f172a;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 450px;
    width: 100%;
}

.logo-right {
    margin-bottom: 25px;
}

.logo-right img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 18px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.card-description {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 3px;
    color: white;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* OTP Modal Styles */
.otp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.otp-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-input {
    width: 40px;
    height: 45px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
}

.otp-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.timer-text {
    color: #dc2626;
    font-weight: 600;
}

.resend-btn {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 13px;
}

.resend-btn:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.verify-btn {
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        max-width: 450px;
    }
    
    .login-left, .login-right {
        padding: 25px 20px;
    }
    
    .login-right {
        min-height: 350px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
}
